package io.terminus.spzx.gateway.config;

import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.util.AntPathMatcher;

/**
 * @Author lichunlong lcl253137@alibaba-inc.com
 * @Desc 网关项目的配置类
 * @Date 2024-11-18
 */
@Configuration
public class GatewayAppConfig {

    @Bean
    @ConditionalOnMissingBean
    public AntPathMatcher getAntPathMatcher() {
        return new AntPathMatcher();
    }
}
